Lecture 1: Introduction to Research — [📝Lecture Notebooks] [
Lecture 2: Introduction to Python — [📝Lecture Notebooks] [
Lecture 3: Introduction to NumPy — [📝Lecture Notebooks] [
Lecture 4: Introduction to pandas — [📝Lecture Notebooks] [
Lecture 5: Plotting Data — [📝Lecture Notebooks] [[
Discover gists
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "workbench.iconTheme": "ayu-mirage-zed", | |
| "workbench.productIconTheme": "icons-carbon", | |
| "editor.cursorStyle": "line", | |
| "editor.cursorBlinking": "smooth", | |
| "editor.cursorSmoothCaretAnimation": "on", | |
| // --- Typography --- | |
| "editor.fontSize": 14, | |
| "editor.fontFamily": "'JetBrains Mono NL','JetBrains Mono', 'Zed Mono', monospace", |
Singles' Day night 11.11 - 23:59:50. In HQ of Ant Group and Alibaba in Hangzhou, hundreds engineers staring at dashboard screens. This is real money, billions USD of Alibaba getting decided in next few minutes.
00:00:00: Festival starts. Like 1 billion ppl press pay button at same time. Traffic jump from 50k to 544k TPS in like 3 seconds. If something break, Alibaba can lose billions. But dashboard still green. Peak is 544,000 transactions per second.
00:01:08:
- first $1B in 68 seconds
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "Key Mappings": { | |
| "0xf702-0x300000-0x7b": { | |
| "Label": "Cursor Start ⌘←", | |
| "Action": 11, | |
| "Text": "0x01" | |
| }, | |
| "0xf703-0x300000-0x7c": { | |
| "Label": "Cursor End ⌘→", | |
| "Action": 11, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ################################################################### | |
| Writing C software without the standard library | |
| Linux Edition | |
| ################################################################### | |
| There are many tutorials on the web that explain how to build a | |
| simple hello world in C without the libc on AMD64, but most of them | |
| stop there. | |
| I will provide a more complete explanation that will allow you to | |
| build yourself a little framework to write more complex programs. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| if (( $(id -u) )) ; then | |
| echo "This script needs to run as root" | |
| exit 1 | |
| fi | |
| if [[ -z "$1" ]] ; then | |
| echo "Usage: $(basename $0) [username] [realname (optional)]" | |
| exit 1 |
We can't make this file beautiful and searchable because it's too large.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Country,City,Provider,Host,ID | |
| Abkhazia,Sukhum,Aquafon GSM,62.182.8.78:8080,9058 | |
| Abkhazia,Sukhum,"Systema, LTD",cyxym.net:8080,5089 | |
| Abkhaziya,Sukhum,A-Mobile,speedtest.a-mobile.biz:8080,9714 | |
| Afghanistan,Herat,Afghan Wireless,hrtspeedtest.afghan-wireless.com:8080,9622 | |
| Afghanistan,Kabul,Afghan Telecom,sp1.afghantelecom.af:8080,11019 | |
| Afghanistan,Kabul,etisalat Afghanistan,speedtest.etisalat.af:8080,21807 | |
| Afghanistan,Kabul,Afghan Wireless,speedtest.afghan-wireless.com:8080,5189 | |
| Afghanistan,Kabul,Afghan Wireless Communication Company,kdzspeedtest.afghan-wireless.com:8080,13501 | |
| Afghanistan,Kabul,Insta Telecom,speedtest.instatelecom.com:8080,12798 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| from typing import Iterable, Union, Any | |
| # freq: frequency in Hz | |
| # zerolen: length of space bit in μs | |
| # onelen: length of mark bit in μs | |
| # repeats: number of times to repeat sequence | |
| # pause: time to wait in μs between sequences | |
| # bits: string of ones and zeros to represent sequence |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| from typing import Iterable, Union, Any | |
| # freq: frequency in Hz | |
| # zerolen: length of space bit in μs | |
| # onelen: length of mark bit in μs | |
| # repeats: number of times to repeat sequence | |
| # pause: time to wait in μs between sequences | |
| # bits: string of ones and zeros to represent sequence |
NewerOlder